<?php 

class CategoriaController extends Controller{

	private $model;
	
	public function __construct(){
		$this->model = new CategoriaModel();
	}
	
	public function getCategoria(){
		echo '<pre>';
		print_r($this->model->getCategoria());
	}
	
	public function setCategoria(){
		$id = Uri::getGET('id');
			
		echo '<pre>';
		var_dump($this->model->setCategoria($id));
	}
}

?>